@color: red;

body {
  .less {
    color: @color;
    &:hover {
      background-color: yellow;
    }
  }
}